include ./define.makefile

.PHONY:all

all:${PROTOCGEN_FILE_PATH}/module_avocation_bin

${PROTOCGEN_FILE_PATH}/module_avocation_bin:${PROTOCGEN_FILE_PATH}/avocation.proto.ds ${RESDB_EXCELMMO_PATH}/avocation.xlsx
	mkdir -p ${PROTOCGEN_FILE_PATH}
	rm -rf ${PROTOCGEN_FILE_PATH}/module_avocation_bin
	${NFEXCELPROCESS} --work="exceltobin" --excel_json=${RESDB_EXCEL_JSON} --src=${RESDB_EXCELMMO_PATH}/avocation.xlsx  --proto_ds=${PROTOCGEN_FILE_PATH}/avocation.proto.ds --dst=${PROTOCGEN_FILE_PATH}/;
	${FILE_COPY_EXE} --work="filecopy_notexist" --src="${PROTOCGEN_FILE_PATH}/AvocationDescEx.h ${PROTOCGEN_FILE_PATH}/AvocationDescEx.cpp" --dst=${DESC_STORE_EX_PATH}/
	${FILE_COPY_EXE} --work="filecopy" --src="${PROTOCGEN_FILE_PATH}/E_AvocationAvocationskill.bin" --dst=${GAME_DATA_PATH}/
	${FILE_COPY_EXE} --work="filecopy" --src="${PROTOCGEN_FILE_PATH}/E_AvocationAvocationskill_debug.json" --dst=${GAME_DATA_PATH}/
	${FILE_COPY_EXE} --work="filecopy" --src="${PROTOCGEN_FILE_PATH}/AvocationAvocationskillDesc.h ${PROTOCGEN_FILE_PATH}/AvocationAvocationskillDesc.cpp" --dst=${DESC_STORE_PATH}/
	${FILE_COPY_EXE} --work="filecopy" --src="${PROTOCGEN_FILE_PATH}/E_AvocationCompose.bin" --dst=${GAME_DATA_PATH}/
	${FILE_COPY_EXE} --work="filecopy" --src="${PROTOCGEN_FILE_PATH}/E_AvocationCompose_debug.json" --dst=${GAME_DATA_PATH}/
	${FILE_COPY_EXE} --work="filecopy" --src="${PROTOCGEN_FILE_PATH}/AvocationComposeDesc.h ${PROTOCGEN_FILE_PATH}/AvocationComposeDesc.cpp" --dst=${DESC_STORE_PATH}/
	${FILE_COPY_EXE} --work="filecopy" --src="${PROTOCGEN_FILE_PATH}/E_AvocationConsumereel.bin" --dst=${GAME_DATA_PATH}/
	${FILE_COPY_EXE} --work="filecopy" --src="${PROTOCGEN_FILE_PATH}/E_AvocationConsumereel_debug.json" --dst=${GAME_DATA_PATH}/
	${FILE_COPY_EXE} --work="filecopy" --src="${PROTOCGEN_FILE_PATH}/AvocationConsumereelDesc.h ${PROTOCGEN_FILE_PATH}/AvocationConsumereelDesc.cpp" --dst=${DESC_STORE_PATH}/
	touch ${PROTOCGEN_FILE_PATH}/module_avocation_bin
